﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using Abp.Domain.Entities.Auditing;

namespace Ixyu.Blogs
{
    public class Blog:FullAuditedEntity
    {
        [MaxLength(200)]
        public string Title { get; set; }
        public string Content { get; set; }
        [MaxLength(200)]
        public string Tags { get; set; }
        [MaxLength(200)]
        public string Come { get; set; }
        /// <summary>
        /// 是否公开
        /// 1 公开
        /// 0 随笔
        /// </summary>
        public int IsPublic { get; set; } 
        /// <summary>
        /// 专业分类
        /// </summary>
        public int Category { get; set; }
    }
}
